<?php
use Yii\helpers\Html;
use yii\helpers\Url;
use backend\components\SideNavWidget;
?>

	<div class="list-group-heading">课程信息</div>
		<div class="list-group">
			<?php
			//左侧菜单

			$menuItem = [
				['label' => '基本信息','url' => \Yii::$app->urlManager->createUrl(['course/edit','type' => 'base', 'id' => \Yii::$app->request->get('id')])],
				['label' => '详细信息','url' => \Yii::$app->urlManager->createUrl(['course/edit','type' => 'detail', 'id' => \Yii::$app->request->get('id')])],
				['label' => '课程图片','url' => \Yii::$app->urlManager->createUrl(['course/edit','type' => 'picture', 'id' => \Yii::$app->request->get('id')])],
				['label' => '课时管理','url' => \Yii::$app->urlManager->createUrl(['course/edit','type' => 'lesson', 'id' => \Yii::$app->request->get('id')])],
			];
			echo SideNavWidget::widget([
				'options' => ['class' => 'list-group'],
				'items' => $menuItem,
			]);


			?>
		</div>
	</div>
	<div class="list-group-panel">
	<div class="list-group-heading">课程设置</div>
		<div class="list-group">
			<?php
			//左侧菜单

			$menuItem = [
				['label' => '价格设置','url' => \Yii::$app->urlManager->createUrl(['course/edit','type' => 'price', 'id' =>\Yii::$app->request->get('id')])],
				/*['label' => '教师设置','url' => \Yii::$app->urlManager->createUrl(['course/edit','type' => 'teach', 'id' => \Yii::$app->request->get('id')])],*/
				/*['label' => '学员管理','url' => \Yii::$app->urlManager->createUrl(['course/edit','type' => 'student', 'id' => \Yii::$app->request->get('id')])],*/
			];
			echo SideNavWidget::widget([
				'options' => ['class' => 'list-group'],
				'items' => $menuItem,
			]);


			?>
		</div>
	</div>
	</div>